home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000380_mjb@jobsoft.com_Fri Sep 3 11:33:36 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Mark J. Bailey" <mjb@jobsoft.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How do I script-->interactive "CONNECT"-->script?
Date: Fri, 3 Sep 2004 06:58:13 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <10jgmo6sl6bjf0a@corp.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Complaints-To: abuse@supernews.com
Lines: 40
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15147
I have a need to kick off a kermit script in ckermit, then, if I see a
certain string pattern I need to go interactive (on the comm stream) and
then switch back to the script when I recognize another string pattern.
What I need to do is have a script run automatically but if the prompt for
the user to change their password is seen, I need to take the session
interactive (typical CONNECT scenario) and allow the user to change their
password with the remote service, and then (ideally) when a "success"
message is seen, resume the script and carry on. TERM (from Century
Software) has a "TERMINAL" command that does just this. With HIPAA and
healthcare, many services (insurance companies in particular) require unique
userids and passwords and require they be changed on a pseudo-regular basis
(30-45 days). Nothing consistent (of course!), so I need to have the script
handle this. What we do with TERM (in another scenario - and TERM isn't an
option for this situation) is start the TERM script and then when the login
prompt is recognized, we use the TERMINAL command to switch the session
interactive so that the user can login (and change the password should that
pop up during any particular session). When the remote service main prompt
is recognized, the TERM script resumes immediately after the TERMINAL
command.
Thanks!
Mark
______________________________________________
Mark J. Bailey Jobsoft Design and Development, Inc.
277 Wilson Pike Circle, Suite 105, Brentwood, TN 37027
EMAIL: mjb@jobsoft.com WEB: http://www.jobsoft.com/
Medimation / CardShot(tm) - http://www.medimation.com/
615-425-0932x20 FAX:615-425-0935 CELL:615-308-9099
CONFIDENTIALITY NOTICE: This email message and any attachments are for the
sole use of the intended recipient(s) and may contain proprietary,
confidential, trade secret or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited and may be a violation
of law. If you are not the intended recipient or a person responsible for
delivering this message to an intended recipient, please contact the sender
by reply email and destroy all copies of the original message.